<template>
	<view class="loading"><image src="https://master.shengejiaju.cn/web/static/icons/loading.gif" mode="aspectFit"></image>{{text}}</view>
</template>

<script>
	export default {
		props: ['text'],
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.loading{
		text-align: center;
		padding: 20rpx 0 40rpx;
		font-size: 28rpx;
		color: #999;
		image{
			vertical-align: middle;
			width: 40rpx;
			height: 40rpx;
			margin: -4rpx 10rpx 0 0;
		}
	}
</style>